Skip to content

Move CI to GitHub Actions#49

Merged
tombruijn merged 4 commits intomainfrom
github-actions
Feb 12, 2026
Merged

Move CI to GitHub Actions#49
tombruijn merged 4 commits intomainfrom
github-actions

Conversation

@tombruijn
Copy link
Collaborator

@tombruijn tombruijn commented Feb 10, 2026

Update RuboCop to a more recent version

Which runs on more recent Ruby versions too.

Move CI to GitHub Actions

In the process I've removed old Rails 4.0 versions because they're long EOL and I can't make it work locally or on the CI.

It doesn't test on all the EOL Ruby versions, but only tests on the Ruby 2.6 or 2.7 depending on the Rails version it tests agains.

I've not migrated danger as there's another PR open for that.

Set up a local test environment

Add scripts to test the test suite on different Ruby version without having them all installed locally.

Fix tests for new Ruby version

Something changed since the Ruby version we're now testing with, so update the specs to match.

Which runs on more recent Ruby versions too.
@tombruijn tombruijn force-pushed the github-actions branch 4 times, most recently from ee58d9e to f66f2c7 Compare February 10, 2026 21:52
@dblock
Copy link
Collaborator

dblock commented Feb 10, 2026

Looks like we're losing Rails 5 too, but YOLO? This looks like it's passing CI in https://github.com/mongoid/mongo_session_store/actions/runs/21883800394 - merge?

For Danger, we have #48.

@tombruijn
Copy link
Collaborator Author

@dblock Let me tinker a bit more before merge. I first tried to get a minimal passing build.

I also had a look at adding Rails 8.x but that's going to require some library/spec updates from what I can tell so far.

@dblock
Copy link
Collaborator

dblock commented Feb 11, 2026

Makes sense, would be good to get exactly where CI was before this change, not remove/add anything.

@tombruijn tombruijn force-pushed the github-actions branch 6 times, most recently from 82a78d7 to 9badfbc Compare February 11, 2026 21:16
In the process I've removed old Rails 4.0 versions because they're long
EOL and I can't make it work locally or on the CI.

It doesn't test on all the EOL Ruby versions, but only tests on the
Ruby 2.6 or 2.7 depending on the Rails version it tests agains.

I've not migrated danger as there's another PR open for that.
@tombruijn
Copy link
Collaborator Author

@dblock I've updated the PR to include Rails 5.x for now too. Rails 4 I can't make work locally or on the CI and I don't want to spend more time on it. So let's drop support.

Newer versions of Rails will need some more work. I'll create a separate PR for that.

@tombruijn tombruijn marked this pull request as ready for review February 11, 2026 21:38
Add scripts to test the test suite on different Ruby version without
having them all installed locally.
Something changed since the Ruby version we're now testing with, so
update the specs to match.
@tombruijn tombruijn merged commit 27e41f0 into main Feb 12, 2026
11 checks passed
@tombruijn tombruijn mentioned this pull request Feb 12, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants